<!DOCTYPE html>
<html lang="zh-cn">
<head>
<include file="Widget/head" />
<link rel="stylesheet" type="text/css" href="__CSS__/Home/defaut.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/distance.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/button.css">
<link rel="stylesheet" type="text/css" href="__CSS__/Home/font.css">
<link href="__CSS__/Home/global.css" rel="stylesheet" type="text/css">
<link href="__CSS__/Home/member.css" rel="stylesheet" type="text/css">
<script>
function taobaodel($id){
	if(confirm('确认删除吗?')){
		window.location="Home-Shua-taobaodel-id-"+$id+".html";
	}	
}
</script>
</head>
<body>
{:W('Page/menu')}
{:W('Page/shanginfo')}

<div class="contt">
	<div class="halltop">
        <div class="hallr" style="width:100%;">
            <ul style="width:520px; float:left;">
                <li><a href="{:U('Shang/lists')}" class="lsitico">任务大厅</a></li>
                <li><a href="{:U('Shang/mylists')}" class="lsitico3">我的任务</a></li>
                <li class="hallrsld"><a href="{:U('Shang/userinfo')}" class="lsitico2">个人中心</a></li>
	            <li><a href="{:U('Index/tuijian')}" class="lsitico3">推荐</a></li>
            </ul>
            <div style="width:260px; float:right; padding-top: 15px;">
				<span class="bbtn dis_l50 cdfabus" style="margin-left:auto; float:left;"><a href="{:U('Shang/fabu')}" ></a></span>&nbsp;
                <span class="bbtn dis_l50 cdshuaxin" style="margin-left:auto; float:left;"><a href="{:U('Shang/lists')}" ></a></span>&nbsp;
            </div>
    		<div class="clr"></div>
        </div>
        <div class="clr"></div>
	</div>  

    <div class="mydata_ctl">
        <div class="ord_ctt">
        	<div class="ordtop2"><a class="sorange" href="{:U('Shang/userinfo')}">个人资料</a></div>
            <div class="ordtop2"><a href="{:U('Shang/usermima')}">修改密码</a></div>
            <div class="ordtop2"><a href="{:U('Shang/jiaoyimima')}">修改交易密码</a></div>
            <div class="ordtop2"><a class="sorange" href="{:U('Shang/userzijin')}">资金明细</a></div>
            <div class="ordtop2"><a href="{:U('Shang/chongzhi')}">充值</a></div>
            <div class="ordtop2"><a href="{:U('Shang/tixian')}">提现</a></div>
            <div class="ordtop1 dis_l8"><a href="{:U('Shang/dianpu')}">绑定店铺</a></div>
            <div class="ordtop2"><a href="{:U('Index/fanxian')}">推荐返现</a></div>
            <div class="ordtop2"><a href="{:U('Shang/renzheng')}">认证</a></div>
            
            <div class="clr"></div>
<!-- 店铺添加 -->
			<form action="{:U('Shang/dianpu')}" method="post" enctype="multipart/form-data">
				<div class="ord_ctt">
		            <div class="srrz_ctl" style="top:0px;">
		            	<span class="tswz"></span>
		                <div id="div_renzheng1" class="hiddshow">
		                	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		                    	<tbody>
		                    	<tr>
		                        	<td width="15%"><span class="red1">*</span>掌柜名称：</td>
		                            <td width="85%"><input name="zhanggui" type="text" id="trueName" maxlength="10" class="input-text w70"><span>*</span></td>
		                        </tr>
		                        <tr>
		                            <td><span class="red1">*</span>店铺名称：</td>
		                            <td><input name="name" type="text" id="cardNo" maxlength="18" class="input-text w230"></td>
		                        </tr>                            
		                    	</tbody>
		                    </table>
		                </div>
		                <div id="div_renzheng2" class="hidd">
		                	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		                    	<tbody>
		                    	<tr>
		                        	<td><span class="red1">*</span>店铺首页截图：</td>
		                            <td>
		                            	<div class="input-file">
		                                	<span class="text">重新上传</span>
		                                    <input id="zhengmian" name="shouye" type="file" style="width: 150px;" class="file">
		                                </div>
		                               	<span id="showimg_cZm"><img src="" id="zheng" width="200px" height="113px"></span>
		                                <span id="fs_cZm"></span>
		                                <img src="__IMG__/sfrz00.jpg">
		                            </td>
		                        </tr>
		                        <tr>
		                        	<td><span class="red1">*</span>店铺后台截图：</td>
		                                <td>
		                                	<div class="input-file">
		                                		<span class="text">重新上传</span>
		                                    	<input id="beimian" name="houtai" type="file" style="width: 150px;" class="file">
			                                </div>
			                               	<span id="showimg_cZm"><img src="" id="bei" width="200px" height="113px"></span>
			                                <span id="fs_cZm"></span>
			                                <img src="__IMG__/sfrz00.jpg">
		                                </td>
		                            </tr>
		                        </tbody></table>
		                </div>
						<div style="margin-top: 20px;">
							<button class="smrzbt" name="submit" id="button">绑定店铺</button>
						</div>
		            </div>
		         </div>
		    </form>
<!-- 店铺添加 -->
			<!-- <if condition="$list"> -->
            <table class="tableItem J_table_bg" width="100%" cellspacing="0">
            	<tbody><tr><th>店铺名称</th><th>掌柜名称</th><th>状态</th><th>操作</th></tr>
            	<!-- <foreach name="list" item="vo"> -->
                <tr><td align="center">{$vo['name']}</td>
                	<td align="center">{$vo['zhanggui']}</td>
                    <td align="center">{$vo['status']}</td>
                    <td align="center"><a href="javascript:;" onclick="dianpudel({$vo['id']});" class="J_ajax_del">删除</a></td>
                </tr>                    
                <!-- </foreach> -->
            </tbody></table>
            <!-- </if> -->		
    	</div>
	</div>
    <div class="clr"></div>
</div>

{:W('Page/foot')}

</body>
</html>